package cn.momoshenchi.product.feign;

import cn.momoshenchi.common.utils.R;
import cn.momoshenchi.product.vo.SkuEsModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @version : 1.0
 * @author: momoshenchi
 * @date: 2021/5/6 - 20:08
 */
@FeignClient("gulimail-search")
public interface SearchFeignService
{
    @PostMapping("/search/save/product")
    public R productSave(@RequestBody List<SkuEsModel> skuEsModels);

}
